package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 拼团列表对象 super_group_product
 * 
 * @author xjf
 * @date 2025-08-14
 */
public class SuperGroupProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品拼团表id */
    @Excel(name = "商品拼团表id")
    private Long id;

    /** 关联拼团活动id */
    @Excel(name = "关联拼团活动id")
    private Long groupActivityId;

    /** 参团人数 */
    @Excel(name = "参团人数")
    private Long size;

    /** 逻辑删除判断 */
    private Long del;
    private SuperGroupActivity activity;

    public SuperGroupActivity getActivity() {
        return activity;
    }

    public void setActivity(SuperGroupActivity activity) {
        this.activity = activity;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setGroupActivityId(Long groupActivityId) 
    {
        this.groupActivityId = groupActivityId;
    }

    public Long getGroupActivityId() 
    {
        return groupActivityId;
    }

    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }

    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupActivityId", getGroupActivityId())
            .append("size", getSize())
            .append("del", getDel())
                .append("activity", getActivity())
            .toString();
    }
}
